package com.etoak.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 典型问题库实体类（仅供checklist侧视）
 * @Author zhixuebin
 * @Date 2022/5/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("typical_main_problem")
public class TypicalProblem {

    @TableField("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("description")
    private String description;

    @TableField("del_status")
    private String delStatus;

    @TableField("create_by")
    private String createBy;

    @TableField("create_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_by")
    private String updateBy;

    //@Excel(name = "更新时间")
    @TableField("update_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
